home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_s / survey45.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-06-01  |  1KB  |  57 lines

  1. @echo off
  2. cls
  3. verify on
  4. for %%f IN (a,A,a:,A:,b,B,b:,B:) do if %1.==%%f. GOTO FLOPPY
  5. for %%f IN (c,c:,d,d:,e,e:,f,f:,g,g:,h,h:,i,i:,C,C:,D,D:,E,E:,F,F:,G,G:,H,H:,I,I:) do if %1.==%%f. GOTO GOODFMT
  6. :ERROR
  7. echo]
  8. echo Please change your command line syntax.
  9. echo You normally should enter 'A:INSTALL' followed by the letter of
  10. echo the drive where you wish to install the SURVEY files.  You can
  11. echo follow the letter with a colon.  Do not follow 'A:' with a space.
  12. echo (Use B instead of A if you are installing from Drive B.)
  13. echo]
  14. echo The allowable drives (if present) are A B C D E F G H or I
  15. echo]
  16. echo Example for a hard drive:  A:INSTALL C
  17. echo]
  18. echo This would install SURVEY files on the C drive in a new directory, SRVY.
  19. echo]
  20. echo To install on a floppy drive (720K or larger) type A:INSTALL B
  21. echo]
  22. echo Please try again
  23. echo]
  24. echo]
  25. echo]
  26. echo]
  27. GOTO ENDIT
  28. :FLOPPY
  29. %1:
  30. cd\
  31. cls
  32. echo Installing files on drive %1
  33. copy a:*.*
  34. goto DONE
  35. :GOODFMT
  36. %1:
  37. cd\
  38. md srvy
  39. cd srvy
  40. cls
  41. echo Installing files on the new Directory SRVY of Drive %1
  42. copy a:*.*
  43. cls
  44. :DONE
  45. cls
  46. echo]
  47. echo Since your program is now installed, you can disregard the
  48. echo installation instructions in the documentation.
  49. echo]
  50. echo To start the Survey program, type "survey" (without quotes) at the
  51. echo DOS prompt, and follow with ENTER
  52. echo]
  53. :ENDIT
  54. pause
  55. cls
  56.  
  57.